<template>
  <div>
    <div class="rect" :style="!showJz?'top:629px':'top:462px'"></div>
    <div class="wrap-part">
      <div class="qk-title flex-row-center-center">
        <img src="@/assets/jcdnum.png" alt width="30" height="30" />
        <div class="qk-title-num">检测点数量</div>
      </div>
      <div style="margin-top:4px" class="flex-row-center-center">
        <div class="qknum-content">
          <div class="qknum-content-top"></div>
         <div v-if="!showJz">
             <div v-if="selQk=='整体'">
                <router-link :to="{name:'overview',query:{name:'index',selTab:'库区概览',selType:'检测点信息',selkq:selQk,showJz:showJz}}">
                   <div class="qknum-content-value flex-row-center-center">{{jcdNum}}</div>
                </router-link>
             </div>
             <div v-else>
                 <router-link :to="{name:'overview',query:{name:'index',selTab:'特定库区',selType:'检测点信息',selKq:selQk,showJz:showJz}}">
                    <div class="qknum-content-value flex-row-center-center">{{jcdNum}}</div>
                 </router-link>
              </div>
         </div>
         <div v-else>
                <router-link :to="{name:'overview',query:{name:'index',selTab:'井组信息',selType:'检测点数值',selKq:selQk,showJz:showJz,curJz:jzId}}">
                    <div class="qknum-content-value flex-row-center-center">{{jcdNum}}</div>
                 </router-link>  
         </div>
          <div class="qknum-content-bottom"></div>
        </div>
        <div class="qknum-content-unit">个</div>
      </div>
    </div>
    <!-- <div class="corner-wrap1">
      <div class="corner-content1"></div>
    </div>
    <div class="corner-wrap4 flex-row-end-start">
      <div class="corner-content4"></div>
    </div>
    <div class="corner-wrap2">
      <div class="corner-content2"></div>
    </div>
    <div class="corner-wrap3 flex-row-end-start">
      <div class="corner-content3"></div>
    </div> -->
  </div>
</template>
<script>
export default {
    data(){
        return{}
    },
    props:{
      jcdNum:Number,
      selQk:String,
      showJz:Boolean,
      jzId:String,
    }
};
</script>
<style  scoped>
.wrap-part {
  width: 100%;
  height: 151px;
  line-height: 20px;
  opacity: 0.82;
  background-color: transparent; 
  color: rgba(16, 16, 16, 100);
  font-size: 14px;
  text-align: center;
  box-shadow: 0px 2px 6px 0px rgba(255,157,160, 60);
  font-family: Roboto;
  border: 1px solid  #c5565a;
}
.qknum-content-value {
  width: 100%;
  height: 45px;
  line-height: 20px;
   color: black;
  font-size: 48px;
  text-align: center;
}

</style>